package com.woniu.after.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.after.entity.TOrderAfter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.after.entity.dto.OrderAfterDetailDto;
import com.woniu.after.entity.dto.OrderAfterDto;
import com.woniu.after.entity.dto.OrderNumberDetailDto;
import com.woniu.after.entity.dto.PageInfoDto;
import com.woniu.common.dto.OrderDetailDto;
import com.woniu.common.util.PageParam;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author Kenneon
* @description 针对表【t_order_after】的数据库操作Service
* @createDate 2024-05-24 14:25:32
*/
public interface TOrderAfterService extends IService<TOrderAfter> {


    /**
     * 获取所有售后订单信息
     */
    IPage<OrderAfterDto> queryAllAfterOrderInfo(Page<?> page, PageInfoDto pageInfoDto);

    void createAfterOrder(List<TOrderAfter> tOrderAfter);

    OrderAfterDetailDto queryAfterDetailInfo(Long detailNum);

    OrderNumberDetailDto queryByAfterNum(Long detailNum);

    void changeAfterNumStatus(Long detailNum);

    void exprotAfterExcel(List<String> detailNums, HttpServletResponse response);
}
